package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.RecommendUser;
import com.tanhua.dubbo.server.vo.PageInfo;

public interface RecommendUserApi {

    // 查询一位得分最高的用户
    RecommendUser queryWithMaxScore(Long userId);

    // 按照得分倒序排序
    PageInfo<RecommendUser> queryPageInfo(Long userId, Integer pageNum, Integer pageSize);
}
